package financial.sharing.center.contract.model.entity;

import financial.sharing.center.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * @ClassName SupplementalAgreement
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/5
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@ToString
@Entity
public class SupplementAgreement extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    /**合同id*/
    private Integer contractId;
    /**文件名字*/
    private String fileName;
    /**文件的url地址*/
    private String url;
    /**删除标志*/
    private Integer enableStatusValue;

    public SupplementAgreement() {

    }
}
